Total Complexity | 11 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 154 |
Lines of code | 112 |
Logical lines of code | 23 |
Comment lines | 15 |
Methods | 8 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
register_endpoints() | 41 | 1 | 84 | |
instance() | 71 | 2 | 6 | |
authorise() | 68 | 2 | 7 | |
checkPermissions() | 76 | 2 | 4 | |
init() | 75 | 1 | 4 | |
discountCodesCheckPermissions() | 82 | 1 | 3 | |
__construct() | 91 | 1 | 2 | |
__clone() | 91 | 1 | 2 |